package com.ruoyi.system.service;

import com.ruoyi.system.domain.vo.RealTimeDataVO;
import org.eclipse.paho.client.mqttv3.MqttException;

public interface AgricultureService {
    void subScribe() throws MqttException;

    RealTimeDataVO getRealTimeData();

    RealTimeDataVO getTempHistory();
}
